<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>${title}</title>
    <link rel="stylesheet" href="/static/assets/layui-v2.5.6/css/layui.css">
    <link rel="stylesheet" href="/static/css/custom/layui.css">
    <link rel="shortcut icon" href="/static/images/favicon.png"/>
    <style>
        body {
            background: rgb(244, 244, 244);
        }

        .container {
            margin: 20px auto;
            width: 80%;
            background: white;
            min-height: 100vh;
        }

        .title {
            padding-top: 30px;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
        }

        .tip {
            margin-top: 30px;
            text-align: center;
            font-size: 15px;
        }

        .content {
            margin: 20px auto;
            padding: 10px 10px;
            width: 90%;
            /*border: 1px dashed lightgray;*/
        }

        .close-btn {
            position: fixed;
            right: 0;
            top: 20px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="title">
        <label>${message.msgTitle}</label>
    </div>
    <div class="tip">
        <label class="publish_time">时间：${(message.msgAddTime)?string("yyyy-MM-dd HH:mm:ss")}</label>
        <label class="source">来源：贵阳</label>
    </div>
    <div class="content">
        ${message.msgContent}
    </div>
</div>
<button type="button" class="layui-btn layui-icon layui-icon-close close-btn" title="关闭当前页面"></button>
<script type="text/javascript" src="/static/assets/jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="/static/assets/layui-v2.5.6/layui.js"></script>
<script>
    /*关闭当前页面*/
    $(".close-btn").click(function () {
        window.opener = null;
        window.open('', '_self');
        window.close();
    })
</script>
</body>
</html>